package com.jeesite.modules.exam.assessment.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.exam.assessment.entity.DcSupExamInfo;
import com.jeesite.modules.exam.notice.entity.DcSupExamNoticeOrg;
import com.jeesite.modules.sys.entity.EmpUser;
import com.jeesite.modules.sys.entity.UserRole;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * 考核任务信息表DAO接口
 * @author xhc
 * @version 2022-05-28
 */
@MyBatisDao
public interface DcSupExamInfoDao extends CrudDao<DcSupExamInfo> {

    void publish(@Param("id")String id,@Param("examStatus") String examStatus);

    List<DcSupExamNoticeOrg> noticeById(@Param("id") String id,@Param("status")String status);

    String getVersion(DcSupExamInfo dcSupExamInfo);

    void deleteUerRole(EmpUser empUser);

    void inserBatchUerRole(List<UserRole> roleList);

    List<DcSupExamInfo> findQuotaList(DcSupExamInfo dcSupExamInfo);

    List findPageCopyList(EmpUser empUser);

    void deleteNotice(DcSupExamInfo dcSupExamInfo);

    void deleteNoticeOrg(DcSupExamNoticeOrg x);
}